---
layout: "default"
title: "UnicodeScalar.UTF16View"
description: "Swift documentation for extension 'UnicodeScalar.UTF16View'."
keywords: "UnicodeScalar.UTF16View,extension,swift,documentation,Element,SubSequence"
root: "/v1.2"
---

<div class="intro-declaration"><code class="language-swift">extension UnicodeScalar.UTF16View</code></div>


<table class="standard">
<tr>
<th id="inheritance">Inheritance</th>
<td>
<code class="inherits">CollectionType, SequenceType, _CollectionType, _SequenceType, _Sequence_Type</code>
<span class="viz"><a href="hierarchy/">View Protocol Hierarchy &rarr;</a></span>
</td>
</tr>

<tr>
<th id="aliases">Associated Types</th>
<td>
<span id="aliasesmark"></span>
<div class="declaration">
<code class="language-swift">Element = Generator.Element</code>
<div class="comment">
    <p><em>Type alias inferred.</em></p>
</div>
</div>
<div class="declaration">
<code class="language-swift">SubSequence = Slice&lt;UnicodeScalar.UTF16View&gt;</code>
<div class="comment">
    <p><em>Type alias inferred.</em></p>
</div>
</div>
</td>
</tr>


<tr>
<th>Import</th>
<td><code class="language-swift">import Swift</code></td>
</tr>

</table>









